package org.biubiu0002.baiblog.core.utils;

import com.github.yitter.idgen.YitIdHelper;

/**
 * @Author: biubiu0002
 * @Date: 2022-05-08 13:42
 **/
public class IdGenerator {
    public static Long generateId(){
        return YitIdHelper.nextId();
    }

    public static String generateUid(){
        return UidUtils.generateUid();
    }
}
